package com.xhl.doeverything.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xhl.doeverything.dto.UserRequest;
import com.xhl.doeverything.entity.UserDO;
import org.apache.ibatis.annotations.Param;
import org.mapstruct.Mapper;

/**
 * @author xionghuilong
 * @description: user dao
 * @date 2021/11/27 19:01
 */
@Mapper
public interface UserDao extends BaseMapper<UserDO> {
    /**
     * 列表分页查询
     */
    public IPage<UserDO> queryPage(IPage<UserRequest> page, @Param("request") UserRequest request);
}
